package com.wml.sellPhone.pojo;


/**
 * @author Hayes
 */
public class Cart {
    private Long id;

    private Long userid;

    private Long phoneid;

    private Long quantity;

    private Mobile mobile;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getPhoneid() {
        return phoneid;
    }

    public void setPhoneid(Long phoneid) {
        this.phoneid = phoneid;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public Mobile getMobile() {
        return mobile;
    }

    public void setMobile(Mobile mobile) {
        this.mobile = mobile;
    }

    @Override
    public String toString() {
        return "Cart{" +
                "id=" + id +
                ", userid=" + userid +
                ", phoneid=" + phoneid +
                ", quantity=" + quantity +
                ", mobile=" + mobile +
                '}' + "\n";
    }
}